//
//  RadioDetailCell.m
//  Leisure
//
//  Created by 大展 on 16/7/4.
//  Copyright © 2016年 大展. All rights reserved.
//

#import "RadioDetailCell.h"

@interface RadioDetailCell ()

@property (weak, nonatomic) IBOutlet UIImageView *coverimg;
@property (weak, nonatomic) IBOutlet UILabel *title;

@property (weak, nonatomic) IBOutlet UILabel *visitCont;
@end

@implementation RadioDetailCell


- (void)setCellWithModel:(id)model {

    RadioDetailModel *object = model;
    [self.coverimg sd_setImageWithURL:[NSURL URLWithString:object.imgUrl]];
    self.title.text = object.title;
    self.visitCont.text = [NSString stringWithFormat:@"%@",object.musicVisit];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
